﻿<html lang="en">

	<head>
		<!-- Global site tag (gtag.js) - Google Analytics -->
		<!--<script async src="/static/js/1b19a5fd82a448888ba7b09f8c258e0c.js"></script>-->
		<script>
			window.dataLayer = window.dataLayer || [];

			function gtag() {
				dataLayer.push(arguments);
			}
			gtag('js', new Date());
			gtag('config', 'UA-97991439-1');
		</script>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<title>EXPASSET</title>
		<link rel="stylesheet" href="/static/css/vendor.7c885ec125c6e6175bf0fb13b80cbd4a.css" />
		<link rel="stylesheet" href="/static/css/expasset.9595190cc037e2223ac1e06fdebcf0c2.css">
		<script type="text/javascript" src="/static/js/jquery.js" >
		</script>
		<style>
			.zcbut{
				background: #2D99F2 !important;
				margin-top: 15px;
				color: #fff !important;
			}
		</style>
	</head>
	<style>
		.logobox {
			width: 100%;
			height: 80px;
			z-index: 99999999;
			position: absolute;
			top: 68px;
			left: 0;
		}

		.logobox .logo {
			width: 80px;
			height: 80px;
			margin: 0 auto;
			padding: 0px;
			border-radius: 50px;
			background: #eaeaea;
			box-shadow: 0px 15px 40px -17px rgba(0, 0, 0, 0.24);
		}

		.logobox .logo img {
			width: 80px;
			height: 80px;
			margin: 0 auto;
			border-radius: 50px;
		}
	</style>

	<body class="lg-background auth-forms" data-app-lang="cn" cz-shortcut-listen="true">
		<main class="container lg-box" style="z-index:4">
			<div>
				<div class="logobox">
					<div class="logo"><img src="/static/images/logo.jpg"></div>
				</div>
				<div class="content-wrapper">
					<div class="col-xs-12 col-md-4 col-md-offset-4">
						<h1>注册</h1>
						<form  style="padding: 0 10px;">
							<div id="app_user_register">
								<label class="control-label">公司名</label>
								<input type="text"  name="companyName" maxlength="255" class="form-control" />
								<label class="control-label">增值税号码</label>
								<input type="text" name="registerNumber" maxlength="255" class="form-control" />
								<label class="control-label required" >全名</label>
								<input type="text" name="fullName" maxlength="255" class="form-control" />
								<label class="control-label required">电子邮件</label>
								<input type="email"  name="email" maxlength="60" class="form-control" />
								<label class="control-label" >密码</label>
								<input type="password"  name="password" class="form-control" />
								<span class="help-block">密码长度必须至少为8个字符，必须为小写字母、大写字母和数字。</span> <label class="control-label" >重复输入密码</label>
								<input type="password" name="Password_second" class="password-field form-control" />
								<!--  -->
								<div class="form-group">
									<input type="button" class="form-control zcbut" value="注册" id="sub_reg">
								</div>
						</form>

						</div>

					</div>
				</div>
		</main>
		<section id="mask"></section>
		<section id="bg">
			<video autoplay="" loop="" muted="">
				<source src="/images/expasset/firm.mp4" type="video/mp4">
			</video>
		</section>
		<script src="/static/js/vendor.2d2e3564e312aec015c5.js"></script>
		<script src="/static/js/expasset.8347ade29d93c0ace30e.js"></script>
		<script>
			$(function () {
				$("#sub_reg").click(function () {
                    var companyName=$("input[name='companyName']").val();
                    var registerNumber=$("input[name='registerNumber']").val();
                    var fullName=$("input[name='fullName']").val();
                    var email=$("input[name='email']").val();
                    var password=$("input[name='password']").val();
                    var Password_second=$("input[name='Password_second']").val();

                    $.post("/index/index/registerCheck",{
                        companyName:companyName,
                        registerNumber:registerNumber,
                        fullName:fullName,
                        email:email,
                        password:password,
                        Password_second:Password_second
                    },function(result){
                        if(result==200){
                            alert('注册成功！');
                            window.location.href = "/index/index/login";
                        }else {
                            alert(result);
                        }

                    });
                });
            })
		</script>
	</body>

</html>